package se.webbzon.oschi01.world;

import java.awt.geom.Point2D;
import java.io.IOException;

public interface Region {
	
	public boolean addChunk(Chunk chunk);
	
	public boolean removeChunk(Chunk chunk);
	
	public boolean hasChunk(Chunk chunk);
	
	public int chunks();

	public Chunk getChunk(int i);
	
	public Chunk getChunk(Point2D coordinates);

	public Point2D getCoordinate();
	
	public void setCoordinate(int x, int z);
	
	public boolean writeback() throws IOException;
	
	public void free();

}